package com.kgc.novel.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kgc.novel.common.Res;
import com.kgc.novel.domain.entity.BookRecord;
import com.kgc.novel.domain.param.BookRecordParam;

import java.util.List;

public interface BookRecordService extends IService<BookRecord> {
    Res<BookRecord> selectRecordAll(BookRecordParam bookRecordParam);

    Res getSingleRecord(String id);

    Res addRecord(BookRecord bookRecord);

    Res updateRecord(BookRecord bookRecord);

    Res deleteRecord(String id);

    Res deleteAllRecord(List<String> ids);
}
